<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
	body,html{
		margin: 0 auto;
		height:100%;
		width:100%;
	}
	input{
		border:1px solid #9ABAE9;
		windth:150px;
		height:18px;
	}
	textarea{
		border:1px solid #9ABAE9;
		windth:135px;
		height:50px;
	}
</style>
</head>
<body>
<div class="divfrist" id="system_departmentAddMain" style="width:100%;height:100%;">
						<div style="width:100%;height:0.7%;overflow:hidden;"></div>
						<div style="width:100%;height:98.6%;">
								<div style="width:0.4%;height:100%;float:left;overflow:hidden;"></div>
								<div style="width:99.2%;height:100%;float:left;">
									 <div style="border: 1px solid #9ABAE9;overflow: auto;height:100%;max-height:100%;">
													<!--内容区 -->
														<div style="padding:10px 0 10px 60px">
															    <form id="system_departmentAddff" method="post">
															        <input type="hidden" name="departmentId">
															    	<table>
															    		<tr>
															    			<td>角色名:</td>
															    			<td><input  type="text" name="departmentName" id="departmentName"></input></td>
															    		</tr>
															    		<tr>
															    			<td>角色描述:</td>
															    			<td><input  type="text" name="departmentNote" id="departmentNote"></input></td>
															    		</tr>
															    		<tr>
															    			<td>角色状态:</td>
															    			<td>
															    			<select class="easyui-combobox" name="departmentState" id="departmentState">
															    				<option value="1">启用</option>
															    				<option value="0">禁用</option>
															    			</select>
															    			</td>
															    		</tr>										    		
															    	</table>
															    </form>
															   </div>
															    <div style="text-align:center;padding:5px">
															    	<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="window.departmentAdd.adddepartment()">确认</a>
															    	<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="window.departmentAdd.clearForm()">清空</a>
															    </div>	
													<!--内容区 -->
									 </div>
								</div>
								<div class="width:0.37%;height:100%;float:left;overflow:hidden;"></div>
						</div>
						<div class="width:100%;height:0.6%;overflow:hidden;"></div>
</div>
<script type="text/javascript">
(function(){

	//增加部门
	function adddepartment(){
		
	}
	//清空
	function clearForm(){
		
	}
	window["departmentAdd"]={};
	window["departmentAdd"]["adddepartment"]=adddepartment;
	window["departmentAdd"]["clearForm"]=clearForm;
	//加载初始化
	$(function(){	
		$.parser.parse('#system_departmentAddMain'); 
	});
})();
</script>
</body>
</html>